// 组件属性相关的数据
export const dateTimeFormat = {
  date: "yyyy-MM-dd",
  week: "yyyy 第 WW 周",
  month: "yyyy-MM",
  year: "yyyy",
  datetime: "yyyy-MM-dd HH:mm:ss",
  daterange: "yyyy-MM-dd",
  monthrange: "yyyy-MM",
  datetimerange: "yyyy-MM-dd HH:mm:ss"
};

export const dateTypeOptions = [
  {
    label: "日(date)",
    value: "date"
  },
  {
    label: "周(week)",
    value: "week"
  },
  {
    label: "月(month)",
    value: "month"
  },
  {
    label: "年(year)",
    value: "year"
  },
  {
    label: "日期时间(datetime)",
    value: "datetime"
  }
]

export const dateRangeTypeOptions = [
  {
    label: "日期范围(daterange)",
    value: "daterange"
  },
  {
    label: "月范围(monthrange)",
    value: "monthrange"
  },
  {
    label: "日期时间范围(datetimerange)",
    value: "datetimerange"
  }
]

export const colorFormatOptions = [
  {
    label: "hex",
    value: "hex"
  },
  {
    label: "rgb",
    value: "rgb"
  },
  {
    label: "rgba",
    value: "rgba"
  },
  {
    label: "hsv",
    value: "hsv"
  },
  {
    label: "hsl",
    value: "hsl"
  }
]

export const justifyOptions = [
  {
    label: "start",
    value: "start"
  },
  {
    label: "end",
    value: "end"
  },
  {
    label: "center",
    value: "center"
  },
  {
    label: "space-around",
    value: "space-around"
  },
  {
    label: "space-between",
    value: "space-between"
  }
]
// 文件类型
export const fileTypeOptions = [
  { label: '图片文件', value: 'image/*' },
  { label: '视频文件', value: 'video/*' },
  { label: '音频文件', value: 'audio/*' },
  { label: '压缩文件', value: '.rar,.zip' },
  { label: 'excel', value: '.xls,.xlsx' },
  { label: 'word', value: '.doc,.docx' },
  { label: 'pdf', value: '.pdf' },
  { label: 'txt', value: '.txt' },
]


